﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace ERP_RORZE_TOOL.Common.ValueObject
{
	[Serializable]
	public class Broken
	{
		#region Members
		protected int iD;
		protected DateTime date;
		protected string toolID;
		protected string machineID;
		protected string mistakeID;
        protected string statusName;
        protected string lossNo;
		protected string partNo;
		protected int quantity;
		protected string processStatusID;
		protected string rotateID;
		protected string standardSpeed;
		protected string realitySpeed;
        protected string process;
		protected string toKind;
		protected string note;

		#endregion
		#region Public Properties

		/// <summary>
		/// Property relating to database column ID(int,not null)
		/// </summary>
		public int ID
		{
			get
			{
				return iD;
			}
			set
			{
				iD = value;
			}
		}

		/// <summary>
		/// Property relating to database column Date(datetime,not null)
		/// </summary>
		public DateTime Date
		{
			get
			{
				return date;
			}
			set
			{
				date = value;
			}
		}

		/// <summary>
		/// Property relating to database column ToolID(nvarchar(50),not null)
		/// </summary>
		public string ToolID
		{
			get
			{
				return toolID;
			}
			set
			{
				toolID = value;
			}
		}

		/// <summary>
		/// Property relating to database column MachineID(nvarchar(50),not null)
		/// </summary>
		public string MachineID
		{
			get
			{
				return machineID;
			}
			set
			{
				machineID = value;
			}
		}

		/// <summary>
		/// Property relating to database column MistakeID(nvarchar(50),not null)
		/// </summary>
		public string MistakeID
		{
			get
			{
				return mistakeID;
			}
			set
			{
				mistakeID = value;
			}
		}

		/// <summary>
		/// Property relating to database column StatusID(int,not null)
		/// </summary>
        public string StatusName
		{
			get
			{
                return statusName;
			}
			set
			{
                statusName = value;
			}
		}

		/// <summary>
		/// Property relating to database column LossNo(int,not null)
		/// </summary>
		public string LossNo
		{
			get
			{
				return lossNo;
			}
			set
			{
				lossNo = value;
			}
		}

		/// <summary>
		/// Property relating to database column PartNo(nvarchar(50),not null)
		/// </summary>
		public string PartNo
		{
			get
			{
                return partNo;
			}
			set
			{
                partNo = value;
			}
		}

		/// <summary>
		/// Property relating to database column Quantity(int,not null)
		/// </summary>
		public int Quantity
		{
			get
			{
				return quantity;
			}
			set
			{
				quantity = value;
			}
		}

		/// <summary>
		/// Property relating to database column ProcessStatus(nvarchar(50),not null)
		/// </summary>
		public string ProcessStatusID
		{
			get
			{
				return processStatusID;
			}
			set
			{
				processStatusID = value;
			}
		}

		/// <summary>
		/// Property relating to database column RotateID(nvarchar(50),not null)
		/// </summary>
		public string RotateID
		{
			get
			{
				return rotateID;
			}
			set
			{
				rotateID = value;
			}
		}

		/// <summary>
		/// Property relating to database column StandardSpeed(nvarchar(250),not null)
		/// </summary>
		public string StandardSpeed
		{
			get
			{
				return standardSpeed;
			}
			set
			{
				standardSpeed = value;
			}
		}

		/// <summary>
		/// Property relating to database column RealitySpeed(nvarchar(250),not null)
		/// </summary>
		public string RealitySpeed
		{
			get
			{
				return realitySpeed;
			}
			set
			{
				realitySpeed = value;
			}
		}

		/// <summary>
		/// Property relating to database column Process(nvarchar(250),not null)
		/// </summary>
		public string Process
		{
			get
			{
				return process;
			}
			set
			{
				process = value;
			}
		}

		/// <summary>
		/// Property relating to database column ToKind(nvarchar(250),not null)
		/// </summary>
		public string ToKind
		{
			get
			{
				return toKind;
			}
			set
			{
				toKind = value;
			}
		}

		/// <summary>
		/// Property relating to database column Note(nvarchar(250),null)
		/// </summary>
		public string Note
		{
			get
			{
				return note;
			}
			set
			{
				note = value;
			}
		}

		#endregion

	}
}
